using System;

namespace Utils.Lib.LitJson
{
    [Flags]
    public enum TypeNameHandling
    {
        /// <summary>
        ///     Do not include the .NET type name when serializing types.
        /// </summary>
        None = 0,

        /// <summary>
        ///     Include the .NET type name when serializing into a JSON object structure.
        /// </summary>
        Objects = 1,

        /// <summary>
        ///     Include the .NET type name when serializing into a JSON array structure.
        /// </summary>
        Arrays = 2,

        /// <summary>
        ///     Always include the .NET type name when serializing.
        /// </summary>
        All = Objects | Arrays,

        /// <summary>
        ///     Include the .NET type name when the type of the object being serialized is not the same as its declared type.
        /// </summary>
        Auto = 4
    }
}